import react from 'react';
import { BrowserRouter } from 'react-router-dom'
import Dashboard from '@/components/dashboard/Index';
import RouterRender from '@/route/index';
import { UserProvider } from './components/provider/UserProvider';

const APP = () => {
    console.log('---------- init -----------')
    return <BrowserRouter>
        <RouterRender />
        <UserProvider>
            <Dashboard />
        </UserProvider>
    </BrowserRouter>
}

export default APP